package cn.dj.system.mapper;

import cn.dj.system.domain.Permission;
import cn.dj.basic.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口：权限
 * </p>
 *
 * @author dj
 * @since 2023-02-13
 */
public interface PermissionMapper extends BaseMapper<Permission> {
    /**
     * 通过Sn字段查找Permission对象
     * @param permissionSn
     * @return
     */
    Permission loadBySn(String permissionSn);
}
